﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunctionGraph
{
    class Round
    {
        public static double SubDown(double v1, double v2)
        {
            return v1 - v2;
        }
        public static double SubUp(double v1, double v2)
        {
            return v1 - v2;
        }
        public static double AddDown(double v1, double v2)
        {
            return v1 + v2;
        }
        public static double AddUp(double v1, double v2)
        {
            return v1 + v2;
        }
        public static double MulDown(double v1, double v2)
        {
            return v1 * v2;
        }
        public static double MulUp(double v1, double v2)
        {
            return v1 * v2;
        }
        public static double DivDown(double v1, double v2)
        {
            return v1 / v2;
        }
        public static double DivUp(double v1, double v2)
        {
            return v1 / v2;
        }
        public static double SqrtDown(double v)
        {
            return Math.Sqrt(v);
        }
        public static double SqrtUp(double v)
        {
            return Math.Sqrt(v);
        }
    }
}
